package gui.guilog;

import gui.guilog.components.CustomTabbedPaneUI;
import gui.guilog.components.TabbedPanel;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import java.awt.BorderLayout;
import java.awt.Color;

public class GUILog extends gui.customComponents.GTTabPanel {

	/**
	 * version id of this class
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Create the panel.
	 */
	public GUILog() {
		setLayout(new BorderLayout(0, 0));
		
		//JTabbedPane tabbedPane = 
		JTabbedPane tp =  new JTabbedPane(JTabbedPane.TOP);		
		tp.setBorder( null );
		tp.setBackground( Color.white );
		
		tp.setUI(new CustomTabbedPaneUI());
		add(tp);
		
		JPanel panel = new JPanel();
		panel.setBackground( Color.white );
		tp.add("Console", panel);  
		tp.setTabComponentAt(0,new TabbedPanel(tp, res.IconManager.getIcon("console")));  
		tp.add("Netbeans.java", new JPanel());  
		tp.setTabComponentAt(1,new TabbedPanel(tp, res.IconManager.getIcon("console")));  
		
		//
		//

	}

}
